package br.usp.icmc.dilvan.aimTemplateViewer.client.aimTemplate;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("serial")
public class AnatomicEntityCharacteristicAIMTemplate implements Serializable {

	boolean annotatorConfidence = false;
	boolean shouldDisplay = true;
	int itemNumber = 0;
	int minCardinality = 0;
	int maxCardinality = 0;
	String label = "";
	String explanatoryText = "";
	List<AllowedTermAIMTemplate> allowedTermAIMTemplates = new ArrayList<AllowedTermAIMTemplate>();

	public AnatomicEntityCharacteristicAIMTemplate() {
		super();
	}

	public AnatomicEntityCharacteristicAIMTemplate(boolean annotatorConfidence,
			boolean shouldDisplay, int itemNumber, int minCardinality,
			int maxCardinality, String label, String explanatoryText) {
		super();
		this.annotatorConfidence = annotatorConfidence;
		this.shouldDisplay = shouldDisplay;
		this.itemNumber = itemNumber;
		this.minCardinality = minCardinality;
		this.maxCardinality = maxCardinality;
		this.label = label;
		this.explanatoryText = explanatoryText;
	}

	public AnatomicEntityCharacteristicAIMTemplate(boolean annotatorConfidence,
			boolean shouldDisplay, int itemNumber, int minCardinality,
			int maxCardinality, String label, String explanatoryText,
			List<AllowedTermAIMTemplate> allowedTermAIMTemplates) {
		super();
		this.annotatorConfidence = annotatorConfidence;
		this.shouldDisplay = shouldDisplay;
		this.itemNumber = itemNumber;
		this.minCardinality = minCardinality;
		this.maxCardinality = maxCardinality;
		this.label = label;
		this.explanatoryText = explanatoryText;
		this.allowedTermAIMTemplates = allowedTermAIMTemplates;
	}

	public boolean isAnnotatorConfidence() {
		return annotatorConfidence;
	}

	public void setAnnotatorConfidence(boolean annotatorConfidence) {
		this.annotatorConfidence = annotatorConfidence;
	}

	public boolean isShouldDisplay() {
		return shouldDisplay;
	}

	public void setShouldDisplay(boolean shouldDisplay) {
		this.shouldDisplay = shouldDisplay;
	}

	public int getItemNumber() {
		return itemNumber;
	}

	public void setItemNumber(int itemNumber) {
		this.itemNumber = itemNumber;
	}

	public int getMinCardinality() {
		return minCardinality;
	}

	public void setMinCardinality(int minCardinality) {
		this.minCardinality = minCardinality;
	}

	public int getMaxCardinality() {
		return maxCardinality;
	}

	public void setMaxCardinality(int maxCardinality) {
		this.maxCardinality = maxCardinality;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getExplanatoryText() {
		return explanatoryText;
	}

	public void setExplanatoryText(String explanatoryText) {
		this.explanatoryText = explanatoryText;
	}

	public List<AllowedTermAIMTemplate> getAllowedTermAIMTemplates() {
		return allowedTermAIMTemplates;
	}

	public void setAllowedTermAIMTemplates(
			List<AllowedTermAIMTemplate> allowedTermAIMTemplates) {
		this.allowedTermAIMTemplates = allowedTermAIMTemplates;
	}

}
